﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Renci.iRods.Common;

namespace Renci.iRods.Packets
{
    //#define DataObjCopyInp_PI "struct DataObjInp_PI; struct DataObjInp_PI;"
    [Packet("DataObjCopyInp_PI")]
    internal class DataObjectCopyInputPacket : Packet
    {
        [PacketField("DataObjInp_PI", 0, DataTypes.Packet)]
        public DataObjectInputPacket Source { get; private set; }

        [PacketField("DataObjInp_PI", 1, DataTypes.Packet)]
        public DataObjectInputPacket Destination { get; private set; }

        public DataObjectCopyInputPacket(string source, string destination)
        {
            this.Source = new DataObjectInputPacket(source);
            this.Destination = new DataObjectInputPacket(destination);
        }
    }
}
